home *** CD-ROM | disk | FTP | other *** search
- Path: news.dfn.de!si-nic!usenet
- From: Markus Becker <becker@zess.uni-siegen.de>
- Newsgroups: comp.lang.c
- Subject: Re: Best way to make a circle
- Date: Thu, 15 Feb 1996 10:43:25 +0100
- Organization: ZESS, Uni-GH-Siegen
- Message-ID: <3123003D.375@zess.uni-siegen.de>
- References: <1996Feb8.043040.19301@lafn.org> <4fo6pt$39o@worf.qntm.com> <4ftncdINNr8p@keats.ugrad.cs.ubc.ca>
- NNTP-Posting-Host: becker.zess.uni-siegen.de
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
-
- Kazimir Kylheku wrote:
-
- [lots of Math/LUTs snipped]
-
- > This is silly. Someone already posted the Bresenham algorithm which doesn't
- > require any sines, cosines or multiplication, and approximates the circle
- > better and better with greater resolution.
- >
-
- [Bresenham theoretics deleted]
-
- (nice explanation!)
-
- > The method can be adapted for curves other than circles. I have done hyperbolas
- > with it.
-
- In fact any parametric curve can be done this way.
-
- > used with Charles Babbage's difference engine. Today they use it to
- > interpolate digital signals before reconstructing and sell it to you as
- > "oversampling".
-
- I have adapted the Bresenham method for oversampling of extracted
- profiles in image processing. It's new to me (though interesting),
- that it is also used in audio (?).
-
- --
- Markus Becker http://www.zess.uni-siegen.de/private/becker/
- Zentrum fuer Sensorsysteme (ZESS)
- http://www.zess.uni-siegen.de/private/becker/win95
-